﻿using System.Reflection;

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
[assembly: AssemblyVersion("1.0.1.*")]

namespace FoosballEye.BLL
{
    public static class AssemblyVersionInfo
    {
        private const string RELEASE_DATE = "2012-08-25";

        /// <summary>
        /// Returns Version on BLL library
        /// </summary>
        /// <returns></returns>
        public static string GetFullVersion()
        {
            var ver = Assembly.GetExecutingAssembly().GetName().Version;
            return ver.ToString();
        }

        /// <summary>
        /// Returns release date of BLL library
        /// </summary>
        /// <returns></returns>
        public static string GetReleaseDate()
        {
            return RELEASE_DATE;
        }
    }

}